export function selectSrc(src: string | string[] | undefined, index: number = 0) {
  if (Array.isArray(src)) {
    return src[index];
  }
  return src;
}